package com.jinhongone.beans.factory.config;

import com.jinhongone.beans.MutablePropertyValue;

/**
 * @author jinho
 * @className BeanDefinition
 * @description 将xml中<bean></bean>标签封装为java pojo类
 * @date 2025/4/25 16:09
 */
public class BeanDefinition {

    private String id; //bean对象名称
    private String className; //bean对象全类名
    private MutablePropertyValue mutablePropertyValue; //bean标签中的property标签

    public BeanDefinition() {
        mutablePropertyValue = new MutablePropertyValue();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public MutablePropertyValue getMutablePropertyValue() {
        return mutablePropertyValue;
    }

    public void setMutablePropertyValue(MutablePropertyValue mutablePropertyValue) {
        this.mutablePropertyValue = mutablePropertyValue;
    }
}
